STEP 9: Our sprite can only move left. What about the B button?
An event is a block of code that runs when something happens—like when someone presses a button.
- In SUBJECT, click on . Then, drag in the block B Button Press to the bottom of your editor.
- Click Run and press B on your micro:bit. Your sprite should move right.
To navigate the page using the TAB key, first press ESC to exit the code editor.